package com.yitao.client.dto.product;

import lombok.Data;
import java.util.Date;
import java.util.List;
import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;


/**
 *
 *  @author skipper
 *  @date 2019-02-26
 *  @desc  如该dto不需要id继承 BaseDto 即可 如需id 则根据情况选择  BaseDtoWithId  或 BaseDtoWithStringId
 *  @see
 */

public class ProductImgDto extends BaseDto {


    /**
     * id
     */
    @ApiModelProperty("id")
    private Long id;


    /**
     * 图片类型 1:商品轮播主图，2 商品详情图
     */
    @ApiModelProperty("图片类型 1:商品轮播主图，2 商品详情图")
    private Integer imageType;


    /**
     * 商品详情图片地址
     */
    @ApiModelProperty("商品详情图片地址")
    private String imageUrl;


    /**
     * 排序值
     */
    @ApiModelProperty("排序值")
    private Integer imageSort;


    /**
     * 商品id
     */
    @ApiModelProperty("商品id")
    private Long productId;


    /**
     * 商品code
     */
    @ApiModelProperty("商品code")
    private String productCode;


    /**
     * 商品名称 冗余字段
     */
    @ApiModelProperty("商品名称 冗余字段")
    private String productName;


    /**
     * sku id
     */
    @ApiModelProperty("sku id")
    private Long skuId;


    /**
     * sku code
     */
    @ApiModelProperty("sku code")
    private String skuCode;


    /**
     * 是否被删除 0 否 1 是
     */
    @ApiModelProperty("是否被删除 false 否 true 是")
    private Boolean isDelete;


    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private Long createBy;


    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;


    /**
     * 最后更新人
     */
    @ApiModelProperty("最后更新人")
    private Long lastUpdateBy;


    /**
     * 最后修改时间
     */
    @ApiModelProperty("最后修改时间")
    private Date lastUpdateTime;
    private Boolean imageState;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getImageType() {
        return imageType;
    }

    public void setImageType(Integer imageType) {
        this.imageType = imageType;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public Integer getImageSort() {
        return imageSort;
    }

    public void setImageSort(Integer imageSort) {
        this.imageSort = imageSort;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    public Boolean getDelete() {
        return isDelete;
    }

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(Long lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Boolean getImageState() {
        return imageState;
    }

    public void setImageState(Boolean imageState) {
        this.imageState = imageState;
    }
}